<!DOCTYPE html>
<meta charset="utf-8">
<#include "../../business/common/common.ftl"/>

<style>
    div {
        overflow: scroll;
    }

</style>
<div class="layui-fluid">
    <table class="layui-table table" style="text-align: center;font-size: 10px" id="dataTable" tableType="dataTable">
        <tr class="layui-bg-gray">
            <th style="text-align: center" width="3%">序号</th>
            <th style="text-align: center">征收项目</th>
            <th style="text-align: center" width="6%">选房顺序号</th>
            <th style="text-align: center">被动迁人</th>
            <th style="text-align: center">协议编号</th>
            <th style="text-align: center">可安置面积</th>
            <th style="text-align: center">选房时间</th>
            <th style="text-align: center">安置小区</th>
            <th style="text-align: center">楼栋</th>
            <th style="text-align: center">楼层</th>
            <th style="text-align: center">户号</th>
            <th style="text-align: center">户型</th>
            <th style="text-align: center">建筑面积</th>
            <th style="text-align: center">产权人</th>
            <th style="text-align: center">产权人身份证号</th>
            <th style="text-align: center">产权人联系电话</th>
            <th style="text-align: center">房源区域性质</th>
            <th style="text-align: center">房源备注</th>
        </tr>
    <#list houseList as house>
        <#assign buyHousePersonList = (buyHousePersonHouseMap[house.id?c])!/>
        <tr>
            <td style="text-align: center">${house_index+1}</td>
            <td style="text-align: center">${house.contract.zsProject.projectName}</td>
            <td style="text-align: center">${house.contract.chooseHouseNum}</td>
            <td style="text-align: center">${house.contract.name}</td>
            <td style="text-align: center">${house.contract.contractCode}</td>
            <td style="text-align: center">${house.contract.limitHouseAreaTotal}</td>
            <td style="text-align: center">${(house.chooseHouseDate?string('yyyy-MM-dd'))!}</td>
            <td style="text-align: center">${house.azProject.projectName}</td>
            <td style="text-align: center">${house.buildNum}</td>
            <td style="text-align: center">${house.floor}</td>
            <td style="text-align: center">${house.houseNum}</td>
            <td style="text-align: center">${(houseHoldMap[house.houseHold].name)!}</td>
            <td style="text-align: center">${house.buildArea}</td>
        <#--产权人信息-->
            <td class="xl72" x:str>
                <#if buyHousePersonList?exists && (buyHousePersonList?size>0)>
                <#list buyHousePersonList as buyHousePerson>
                ${(buyHousePerson.name)!}
                </#list>
                </#if>
            </td>
            <td class="xl72" x:str>
                <#if buyHousePersonList?exists && (buyHousePersonList?size>0)>
                <#list buyHousePersonList as buyHousePerson>
                ${(buyHousePerson.id_card)!}
                </#list>
                </#if>
            </td>
            <td class="xl72" x:str>
                <#if buyHousePersonList?exists && (buyHousePersonList?size>0)>
                <#list buyHousePersonList as buyHousePerson>
                ${(buyHousePerson.tel)!}
                </#list>
                </#if>
            </td>
            <td style="text-align: center">${(house.houseStyle)!}</td>
            <td style="text-align: center">${(house.memo)!}</td>

        </tr>
    </#list>
    </table>
</div>

